package com.qfedu.buy.server.provider;

import com.qfedu.buy.common.dto.PayDto;
import com.qfedu.buy.common.vo.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

/**
 * @program: NeighborBuy
 * @description:
 * @author: Feri(邢朋辉)
 * @create: 2021-02-04 11:19
 */
@FeignClient("payserver")
public interface PayProvider {
    @PostMapping("/server/pay/createpay.do")
    R create(@RequestBody PayDto dto);
}
